package com.zan.pattern.bridge;

/**
 * @Author Zan
 * @Create 2024-04-26 0:13
 * @Description : 抽象的操作系统类（抽象化角色）
 * @ClassName: OperatingSystem
 */
public abstract class OperatingSystem {

    // 声明VideoFile对象 - protected 子类可以直接使用
    protected VideoFile videoFile;

    public OperatingSystem(VideoFile videoFile) {
        this.videoFile = videoFile;
    }

    public abstract void play(String fileName);
}
